<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .button-box {
            display: flex;
            gap: 5px;
        }
        
        .toggle-button {
            padding: 10px;
            font-size: 16px;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }
        
        .toggle-button:focus {
            background-color: green;
            color: white; 
        }
    </style>
</head>
<body>
    <div class="button-box">
        <button class="toggle-button" >按钮1</button>
        <button class="toggle-button" >按钮2</button>
        <button class="toggle-button" >按钮3</button>
        <button class="toggle-button" >按钮4</button>
        <button class="toggle-button" >按钮5</button>
    </div>
</body>
</html>